Elevator Pitch

  • For developers wishing to get practice creating systems using TDD
  • Who are interested in starting with user stories that follow the INVEST principle
  • Our RPN Calculator problem is a complete problem
  • That gives users a rich enough to practice simple TDD
  • Unlike other problems that take you through the process step by step
  • Our Product only provides the starting point from which you are expected to begin practicing

User Stories

The following list of user stories form a Product Backlog. The are additionally sectioned by Releases, each of which is given a Theme.

Release 1 - Theme: Basic Math


Release 2 - Theme: Stack Management


Release 3 - Theme: Advanced Math


Alternative Approach

As I've Actually Taught It

Getting Started


Here are some steps to get you started:
Project Setup
  1. Create a workspace in eclipse
  2. Make sure to have separate source folders, one called src, one called test
  3. Add JUnit lib to your project's classpath

TDD
  1. Pick the highest listed user uncompleted user story
    • Create a test for the first uncompleted UAT
    • Get the test to compile
    • Get the test to run
    • Refactor if necessary
    • Check in your source code
  2. Repeat until all UAT's are done for the current user story
  3. Repeat until all user stories for the current release are finished

RpnCalculatorCppExampleImplementation